//-----------------------------------------------------------------------
// <copyright file="tblImportTransactionBase.cs" company="VNSpoke">
//     Copyright ? VNSpoke. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
	
using System;


namespace Robot.Entities
{
	[Serializable]
	public class tblImportTransactionBase
	{
		
		#region Variable Declarations
		
		private Guid				id = Guid.Empty;
		
		private DateTime?				valueDate = null;
		
		private string				buyCurrency = string.Empty;
		
		private string				sellCurrency = string.Empty;
		
		private decimal?				cusRate = null;
		
		private decimal?				buyAmount = null;
		
		private decimal?				sellAmount = null;
		
		private string				branch = string.Empty;
		
		private int?				rule1 = -1;
		
		private int?				rule2 = -1;
		
		private int?				rule3 = -1;
		
		private int?				rule4 = -1;
		
		private int?				rule5 = -1;
		
		private Guid				fromFileID = Guid.Empty;
		
		private string				createdBy = string.Empty;
		
		private string				customerName = string.Empty;
		
		private DateTime?				createdDate = null;
		
		private DateTime?				approvedDate = null;
		
		private string				approvedBy = null;
		
		private string				channel = string.Empty;
		
		private string				batchNo = string.Empty;
		
		private string				custMasterNo = string.Empty;
		
		private string				cusSeg = string.Empty;
		
		private int?				status = null;
		
		private string				slNo = string.Empty;
		
		private string				custCD = string.Empty;
		
		private string				tranReferenceNo = string.Empty;
		
		private string				exception = string.Empty;
		
		private string				command = string.Empty;
		#endregion
		
		#region Constructors
		public tblImportTransactionBase() {}
		
		public tblImportTransactionBase (
			Guid id,
			DateTime? valueDate,
			string buyCurrency,
			string sellCurrency,
			decimal? cusRate,
			decimal? buyAmount,
			decimal? sellAmount,
			string branch,
			int? rule1,
			int? rule2,
			int? rule3,
			int? rule4,
			int? rule5,
			Guid fromFileID,
			string createdBy,
			string customerName,
			DateTime? createdDate,
			DateTime? approvedDate,
			string approvedBy,
			string channel,
			string batchNo,
			string custMasterNo,
			string cusSeg,
			int? status,
			string slNo,
			string custCD,
			string tranReferenceNo,
			string exception,
			string command)
		
		{
			this.id = id;
			this.valueDate = valueDate;
			this.buyCurrency = buyCurrency;
			this.sellCurrency = sellCurrency;
			this.cusRate = cusRate;
			this.buyAmount = buyAmount;
			this.sellAmount = sellAmount;
			this.branch = branch;
			this.rule1 = rule1;
			this.rule2 = rule2;
			this.rule3 = rule3;
			this.rule4 = rule4;
			this.rule5 = rule5;
			this.fromFileID = fromFileID;
			this.createdBy = createdBy;
			this.customerName = customerName;
			this.createdDate = createdDate;
			this.approvedDate = approvedDate;
			this.approvedBy = approvedBy;
			this.channel = channel;
			this.batchNo = batchNo;
			this.custMasterNo = custMasterNo;
			this.cusSeg = cusSeg;
			this.status = status;
			this.slNo = slNo;
			this.custCD = custCD;
			this.tranReferenceNo = tranReferenceNo;
			this.exception = exception;
			this.command = command;
		}
		#endregion
		
		#region Properties	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is uniqueidentifier</value>
		public Guid ID
		{
			get { return id; }
			set { id = value; }
		}
		public Guid originalID
		{
			get { return originalID; }
			set { originalID = value; }
		} 
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is datetime</value>
		public DateTime? ValueDate
		{
			get { return valueDate; }
			set { valueDate = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string BuyCurrency
		{
			get { return buyCurrency; }
			set { buyCurrency = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string SellCurrency
		{
			get { return sellCurrency; }
			set { sellCurrency = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is decimal</value>
		public decimal? CusRate
		{
			get { return cusRate; }
			set { cusRate = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is decimal</value>
		public decimal? BuyAmount
		{
			get { return buyAmount; }
			set { buyAmount = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is decimal</value>
		public decimal? SellAmount
		{
			get { return sellAmount; }
			set { sellAmount = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string Branch
		{
			get { return branch; }
			set { branch = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int? Rule1
		{
			get { return rule1; }
			set { rule1 = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int? Rule2
		{
			get { return rule2; }
			set { rule2 = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int? Rule3
		{
			get { return rule3; }
			set { rule3 = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int? Rule4
		{
			get { return rule4; }
			set { rule4 = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int? Rule5
		{
			get { return rule5; }
			set { rule5 = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is uniqueidentifier</value>
		public Guid FromFileID
		{
			get { return fromFileID; }
			set { fromFileID = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string CreatedBy
		{
			get { return createdBy; }
			set { createdBy = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string CustomerName
		{
			get { return customerName; }
			set { customerName = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is datetime</value>
		public DateTime? CreatedDate
		{
			get { return createdDate; }
			set { createdDate = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is datetime</value>
		public DateTime? ApprovedDate
		{
			get { return approvedDate; }
			set { approvedDate = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string ApprovedBy
		{
			get { return approvedBy; }
			set { approvedBy = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string Channel
		{
			get { return channel; }
			set { channel = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string BatchNo
		{
			get { return batchNo; }
			set { batchNo = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string CustMasterNo
		{
			get { return custMasterNo; }
			set { custMasterNo = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string CusSeg
		{
			get { return cusSeg; }
			set { cusSeg = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int? Status
		{
			get { return status; }
			set { status = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string SlNo
		{
			get { return slNo; }
			set { slNo = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string CustCD
		{
			get { return custCD; }
			set { custCD = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string TranReferenceNo
		{
			get { return tranReferenceNo; }
			set { tranReferenceNo = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string Exception
		{
			get { return exception; }
			set { exception = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string Command
		{
			get { return command; }
			set { command = value; }
		}
	
		
		#endregion
	}//End Class
	
	public enum tblImportTransactionColumns
	{
		ID,
		ValueDate,
		BuyCurrency,
		SellCurrency,
		CusRate,
		BuyAmount,
		SellAmount,
		Branch,
		Rule1,
		Rule2,
		Rule3,
		Rule4,
		Rule5,
		FromFileID,
		CreatedBy,
		CustomerName,
		CreatedDate,
		ApprovedDate,
		ApprovedBy,
		Channel,
		BatchNo,
		CustMasterNo,
		CusSeg,
		Status,
		SlNo,
		CustCD,
		TranReferenceNo,
		Exception,
		Command
	}//End enum
}